\hypertarget{classCFixedCipherStream}{
\section{\-C\-Fixed\-Cipher\-Stream \-Class \-Reference}
\label{classCFixedCipherStream}\index{\-C\-Fixed\-Cipher\-Stream@{\-C\-Fixed\-Cipher\-Stream}}
}


{\ttfamily \#include $<$fixed\-\_\-cipher\-\_\-stream.\-h$>$}

\-Inheritance diagram for \-C\-Fixed\-Cipher\-Stream\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classCFixedCipherStream}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classCFixedCipherStream_ad33b589abae2c95f4adf8e65cced4b34}{\-C\-Fixed\-Cipher\-Stream} (std\-::string $\ast$p\-Password)
\item 
virtual \hyperlink{classCFixedCipherStream_ab705411df76869e42a2b7a1e15044cc6}{$\sim$\-C\-Fixed\-Cipher\-Stream} ()
\item 
virtual void \hyperlink{classCFixedCipherStream_a8df592c26f583f5cbf75cf81a4d0bbf3}{get\-Next} (std\-::string $\ast$p\-Stream, unsigned int p\-Count)
\item 
virtual bool \hyperlink{classCFixedCipherStream_aa61a6d848dcf052b644abcc5164555ca}{get\-Static\-Key} (std\-::string $\ast$, unsigned int p\-Count, unsigned int p\-Offset)
\item 
virtual void \hyperlink{classCFixedCipherStream_a9ba7b7a9714b7ee644deb95bac89ca01}{reset} (std\-::string $\ast$p\-Password)
\end{DoxyCompactItemize}
\subsection*{\-Protected \-Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string \hyperlink{classCFixedCipherStream_a33ed81e76e6d4c5e5da390f35bc38047}{m\-Key}
\item 
std\-::string \hyperlink{classCFixedCipherStream_a2d0e22234d487f766d7a55f89f185428}{m\-Buffer}
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classCFixedCipherStream_ad33b589abae2c95f4adf8e65cced4b34}{
\index{\-C\-Fixed\-Cipher\-Stream@{\-C\-Fixed\-Cipher\-Stream}!\-C\-Fixed\-Cipher\-Stream@{\-C\-Fixed\-Cipher\-Stream}}
\index{\-C\-Fixed\-Cipher\-Stream@{\-C\-Fixed\-Cipher\-Stream}!CFixedCipherStream@{\-C\-Fixed\-Cipher\-Stream}}
\subsubsection[{\-C\-Fixed\-Cipher\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Fixed\-Cipher\-Stream\-::\-C\-Fixed\-Cipher\-Stream (
\begin{DoxyParamCaption}
\item[{std\-::string $\ast$}]{p\-Password}
\end{DoxyParamCaption}
)}}
\label{classCFixedCipherStream_ad33b589abae2c95f4adf8e65cced4b34}
\-The constructor of the \hyperlink{classCFixedCipherStream}{\-C\-Fixed\-Cipher\-Stream} class.


\begin{DoxyParams}{\-Parameters}
{\em p\-Password} & \-The password the cipher stream is configured with \\
\hline
\end{DoxyParams}
\hypertarget{classCFixedCipherStream_ab705411df76869e42a2b7a1e15044cc6}{
\index{\-C\-Fixed\-Cipher\-Stream@{\-C\-Fixed\-Cipher\-Stream}!$\sim$\-C\-Fixed\-Cipher\-Stream@{$\sim$\-C\-Fixed\-Cipher\-Stream}}
\index{$\sim$\-C\-Fixed\-Cipher\-Stream@{$\sim$\-C\-Fixed\-Cipher\-Stream}!CFixedCipherStream@{\-C\-Fixed\-Cipher\-Stream}}
\subsubsection[{$\sim$\-C\-Fixed\-Cipher\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Fixed\-Cipher\-Stream\-::$\sim$\-C\-Fixed\-Cipher\-Stream (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCFixedCipherStream_ab705411df76869e42a2b7a1e15044cc6}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classCFixedCipherStream_a8df592c26f583f5cbf75cf81a4d0bbf3}{
\index{\-C\-Fixed\-Cipher\-Stream@{\-C\-Fixed\-Cipher\-Stream}!get\-Next@{get\-Next}}
\index{get\-Next@{get\-Next}!CFixedCipherStream@{\-C\-Fixed\-Cipher\-Stream}}
\subsubsection[{get\-Next}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Fixed\-Cipher\-Stream\-::get\-Next (
\begin{DoxyParamCaption}
\item[{std\-::string $\ast$}]{p\-Stream, }
\item[{unsigned int}]{p\-Count}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCFixedCipherStream_a8df592c26f583f5cbf75cf81a4d0bbf3}
\-Gets the next p\-Count bytes of the cipher stream and writes them onto the given string.


\begin{DoxyParams}{\-Parameters}
{\em p\-Stream} & \-The std\-::string where the cipher stream bytes are written on \\
\hline
{\em p\-Count} & \-The length of the p\-Stream string and therefore the amount of bytes of the cipher stream that should be returned \\
\hline
\end{DoxyParams}


\-Implements \hyperlink{classCCipherStream_afec8a27d2cae44059773f4acd4435c21}{\-C\-Cipher\-Stream}.

\hypertarget{classCFixedCipherStream_aa61a6d848dcf052b644abcc5164555ca}{
\index{\-C\-Fixed\-Cipher\-Stream@{\-C\-Fixed\-Cipher\-Stream}!get\-Static\-Key@{get\-Static\-Key}}
\index{get\-Static\-Key@{get\-Static\-Key}!CFixedCipherStream@{\-C\-Fixed\-Cipher\-Stream}}
\subsubsection[{get\-Static\-Key}]{\setlength{\rightskip}{0pt plus 5cm}bool \-C\-Fixed\-Cipher\-Stream\-::get\-Static\-Key (
\begin{DoxyParamCaption}
\item[{std\-::string $\ast$}]{p\-Stream, }
\item[{unsigned int}]{p\-Count, }
\item[{unsigned int}]{p\-Offset}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCFixedCipherStream_aa61a6d848dcf052b644abcc5164555ca}
\-Returns a fixed part of the cipher stream without taking into account the current position in the stream. \-With this method, any part of the stream can be read as often as desired.


\begin{DoxyParams}{\-Parameters}
{\em p\-Stream} & \-The std\-::string where the cipher stream bytes are written on \\
\hline
{\em p\-Count} & \-The length of the p\-Stream string and therefore the amount of bytes of the cipher stream that should be returned \\
\hline
{\em p\-Offset} & \-The offset inside the cipher stream \\
\hline
\end{DoxyParams}


\-Implements \hyperlink{classCCipherStream_a1013262cd5a93200e83e4c3a1c74247b}{\-C\-Cipher\-Stream}.

\hypertarget{classCFixedCipherStream_a9ba7b7a9714b7ee644deb95bac89ca01}{
\index{\-C\-Fixed\-Cipher\-Stream@{\-C\-Fixed\-Cipher\-Stream}!reset@{reset}}
\index{reset@{reset}!CFixedCipherStream@{\-C\-Fixed\-Cipher\-Stream}}
\subsubsection[{reset}]{\setlength{\rightskip}{0pt plus 5cm}void \-C\-Fixed\-Cipher\-Stream\-::reset (
\begin{DoxyParamCaption}
\item[{std\-::string $\ast$}]{p\-Password}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCFixedCipherStream_a9ba7b7a9714b7ee644deb95bac89ca01}
\-Resets the cipher stream with the given password. \-It basically does the same as creating a new object of this class.


\begin{DoxyParams}{\-Parameters}
{\em p\-Password} & \-The password \\
\hline
\end{DoxyParams}


\-Implements \hyperlink{classCCipherStream_a17a5f9b872a266ca79308d31118ab6ff}{\-C\-Cipher\-Stream}.



\subsection{\-Member \-Data \-Documentation}
\hypertarget{classCFixedCipherStream_a2d0e22234d487f766d7a55f89f185428}{
\index{\-C\-Fixed\-Cipher\-Stream@{\-C\-Fixed\-Cipher\-Stream}!m\-Buffer@{m\-Buffer}}
\index{m\-Buffer@{m\-Buffer}!CFixedCipherStream@{\-C\-Fixed\-Cipher\-Stream}}
\subsubsection[{m\-Buffer}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-C\-Fixed\-Cipher\-Stream\-::m\-Buffer}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{classCFixedCipherStream_a2d0e22234d487f766d7a55f89f185428}
\hypertarget{classCFixedCipherStream_a33ed81e76e6d4c5e5da390f35bc38047}{
\index{\-C\-Fixed\-Cipher\-Stream@{\-C\-Fixed\-Cipher\-Stream}!m\-Key@{m\-Key}}
\index{m\-Key@{m\-Key}!CFixedCipherStream@{\-C\-Fixed\-Cipher\-Stream}}
\subsubsection[{m\-Key}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-C\-Fixed\-Cipher\-Stream\-::m\-Key}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}
\label{classCFixedCipherStream_a33ed81e76e6d4c5e5da390f35bc38047}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{fixed__cipher__stream_8h}{fixed\-\_\-cipher\-\_\-stream.\-h}\item 
\hyperlink{fixed__cipher__stream_8cxx}{fixed\-\_\-cipher\-\_\-stream.\-cxx}\end{DoxyCompactItemize}
